home *** CD-ROM | disk | FTP | other *** search
- Path: bignews.shef.ac.uk!usenet
- From: E.V.Smith@shef.ac.uk (Eric Smith)
- Newsgroups: comp.lang.c++
- Subject: Help, C++ '&' dereferencer
- Date: 11 Mar 1996 12:08:22 GMT
- Organization: Automatic Control & Systems Engineering, University of Sheffield , UK
- Message-ID: <4i153m$pgf@bignews.shef.ac.uk>
- NNTP-Posting-Host: pc022086.shef.ac.uk
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-Newsreader: WinVN 0.99.7
-
- My manuals and online help is a little vague on this one so can anyone
- please simply explain to me what the & sign ( or 'dereferencer' I believe)
- is doing in the following command line where 'value' should end up as 1 or 0.
-
- value=((inportb(0x1B4) & 0x20)>>5);
-
-
- if you can put it in context with the problem it would be great.
- Thanks.
- Eric...
- Email reply appreciated if possible please
-
-